@bg-color: #E3DAD1; // 数字博物馆部分的背景色
@spacing: 40rpx; // 正文部分标题，分割线与上下之间的距离
@text-color: #534427;

.full {
    position: absolute;
    top: 0px;
    left: 0px;
    bottom: 0px;
    right: 0px;
}

.show-bg(@url) {
	background: url('@{url}') 50% 50% / cover;
}

.text-cut(@row) {
	overflow: hidden;
	-webkit-line-clamp: @row;
	text-overflow: ellipsis;
	display: -webkit-box;
	-webkit-box-orient: vertical;
}

.top-banner {
	padding-top: var(--status-bar-height);
	background: #6F6249;
	height: 120rpx;
	image {
		width: 323rpx;
		margin-left: @spacing;
		margin-top: 40rpx;
	}
}

.digital-page {
	min-height: 100vh;
	background-color: @bg-color;
	.top-banner {
		position: absolute;
		top: 0rpx;
		left: 0rpx;
		right: 0rpx;
		z-index: 999;
		background: rgba(111, 98, 73, .9);
	}
	.banner {
		height: 550rpx;
		position: relative;
		.show-bg("https://www.lin-home.com/static/Community/main-bg.jpg");
		.title-area {
			width: calc(64rpx * 4);
			height: calc(64rpx + 5rpx + 32rpx);
			.full;
			margin: auto;
			color: #fff;
			.title-cn {
				font-size: 64rpx;
				margin-bottom: 5rpx;
				text-align: center;
			}
			.title-en {
				font-size: 32rpx;
				text-align: center;
			}
		}
	}
	.main-content {
		padding: 30rpx 17rpx 20rpx 17rpx;
		box-sizing: border-box;
		.block {
			background-color: #EFEAE5;
			padding: 25rpx 30rpx;
			border-radius: 10px;
			box-shadow: 5px 6px 8px #c7c7c7;
			margin-bottom: 28rpx;
		}
		.header {
			font-size: 32rpx;
			padding-left: 25rpx;
			color: @text-color;
			font-weight: bold;
			position: relative;
			&::before {
				content: ' ';
				display: block;
				width: 7rpx;
				height: 100%;
				background: @text-color;
				position: absolute;
				left: 0rpx;
			}
			margin-bottom: @spacing;
		}
		.divider-h {
			height: 10rpx;
			background: #f2f2f2;
			margin-bottom: @spacing;
			position: relative;
			&::before {
				content: ' ';
				display: block;
				width: 33%;
				height: 100%;
				background: #8A8E99;
				position: absolute;
				left: 0rpx;
			}
			&::after {
				content: ' ';
				display: block;
				width: 33%;
				height: 100%;
				background: #FBEBD6;
				position: absolute;
				right: 0rpx;
			}
		}
		
		.content {
			width: 100%;
			rich-text img {
				max-width: 100%;
				height: auto;
			}
		}
	}
}